﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BangumiWpfApp1
{
    public class Subject
    {
        public int id { get; set; }
        public string url { get; set; }
        public int type { get; set; }
        public string name { get; set; }
        public string name_cn { get; set; }
        public string summary { get; set; }
        public int eps { get; set; }
        public int eps_count { get; set; }
        public string air_date { get; set; }
        public int air_weekday { get; set; }
        public int rank { get; set; }
        public int rate_total { get; set; } //额外增加的 by xyf
        public float score { get; set; }//额外增加的 by xyf
        public Rating rating { get; set; }

        public Images images { get; set; }
        public Collection collection { get; set; }

    }

    public class Rating
    {
        public int total { get; set; }
        public Count count { get; set; }
        public float score { get; set; }
    }

    public class Count
    {
        public int _10 { get; set; }
        public int _9 { get; set; }
        public int _8 { get; set; }
        public int _7 { get; set; }
        public int _6 { get; set; }
        public int _5 { get; set; }
        public int _4 { get; set; }
        public int _3 { get; set; }
        public int _2 { get; set; }
        public int _1 { get; set; }
    }

    public class Images
    {
        public string large { get; set; }
        public string common { get; set; }
        public string medium { get; set; }
        public string small { get; set; }
        public string grid { get; set; }
    }

    public class Collection
    {
        public int wish { get; set; }
        public int collect { get; set; }
        public int doing { get; set; }
        public int on_hold { get; set; }
        public int dropped { get; set; }
    }

}
